using System;
using MetaObjects.Contracts;

namespace MetaObjects.Core
{
	public class Mapper<TSource, TTarget> : IMapper<TSource, TTarget>
	{
		public Func<TSource, TTarget> Map { get; protected set; }

		public Mapper() { }

		public Mapper(Func<TSource, TTarget> map)
		{
			Map = map;
		}
	}
}